package com.xuerhua.yxt.view;

import java.util.List;

import com.xuerhua.yxt.model.TeacherInfo;

public class GradeTeacherView {

	private Integer grade;
	
	private List<TeacherInfo> teacherList;

	public Integer getGrade() {
		return grade;
	}

	public void setGrade(Integer grade) {
		this.grade = grade;
	}

	public List<TeacherInfo> getTeacherList() {
		return teacherList;
	}

	public void setTeacherList(List<TeacherInfo> teacherList) {
		this.teacherList = teacherList;
	}
	
	public String getGradeText(){
		String grade = TermView.getGradeName(this.grade);
		if(grade == null) return "无";
		return grade;
	}
	
}
